<template>
	<div class="layout-padding">
		<div class="layout-padding-auto layout-padding-view">
			<tableMain :queryForm="state.queryForm" :paginations="{size:20}"></tableMain>
		</div>
	</div>
</template>

<script setup lang="ts" name="systemSysMessage">
const tableMain = defineAsyncComponent(() => import('/@/components/tableMain/index.vue'));


const route = useRoute();

// 查询产业列表
const industryQueryList = route.query.industry ? route.query.industry.split(',') : [];

const state = reactive<any>({
	queryForm: {
		industryId: industryQueryList[industryQueryList.length - 1], //产业
		agency: route.query.agency || '', // 机构
		inventor: route.query.inventor || '', // 发明人
	},
});

</script>
<style lang="scss" scoped>
.tab-head {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	.num {
		margin-right: 10px;
	}
}
</style>
